package com.hxkj.client.service;

import com.hxkj.domain.po.FreeMarker;
import com.platform.common.domain.result.ResultDataStruct;
import com.platform.common.domain.result.ResultMessageStruct;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * @author yaosy
 * @create 2018年6月21日10:10:43
 * @desc 模板解析对外接口
 **/
@FeignClient(name = "cms-management")
public interface FreeMarkerServiceClient {
    /**
     *
     *
     * @param freeMarker 封装参数
     * @return manuscript 稿件基本参数
     * @throws Exception
     */
    @RequestMapping(value = "/freeMarker/analyze", method = RequestMethod.POST,consumes = "application/json;charset=UTF-8")
    public ResultDataStruct analyze(@RequestBody FreeMarker freeMarker) throws Exception;


}
